package com.bwie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.pojo.TbNetwork;
import com.bwie.service.TbNetworkService;
import com.bwie.mapper.TbNetworkMapper;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 18229
* @description 针对表【tb_network】的数据库操作Service实现
* @createDate 2025-04-17 10:08:48
*/
@Service
public class TbNetworkServiceImpl extends ServiceImpl<TbNetworkMapper, TbNetwork>
    implements TbNetworkService{
    @Autowired
    private TbNetworkMapper tbNetworkMapper;

    @Override
    public R getNetworkList() {
        List<TbNetwork> tbNetworks = tbNetworkMapper.selectList(null);
        return R.OK(tbNetworks);
    }
}




